package com.aliang.shopping.mapper;

import com.aliang.shopping.model.po.GoodsSku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【goods_sku(商品sku表)】的数据库操作Mapper
* @createDate 2024-11-23 19:50:20
* @Entity com.aliang.shopping.model.po.GoodsSku
*/
public interface GoodsSkuMapper extends BaseMapper<GoodsSku> {

    List<GoodsSku> selectListByGoodsId(@Param("goodsIds") List<Long> goodsId);

    BigDecimal selectPriceByGoodsId(@Param("id") Long id);
}




